package com.isunland.managesystem.ui;

import android.graphics.Bitmap;
import android.support.v4.app.Fragment;

public class UserPhotoActivity extends SingleFragmentActivity {
  private Bitmap mbitmap;
  private String mPath;

  @Override protected Fragment createFragment() {
    //		 byte [] bis=getIntent().getByteArrayExtra("bitmap");
    //		 mbitmap=BitmapFactory.decodeByteArray(bis, 0, bis.length);
    mPath = (String) getIntent().getSerializableExtra(UserPhotoFragment.EXTRA_PATH);
    return UserPhotoFragment.newInstance(mPath);
  }
}
